<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>输入姓名页面</title>
</head>
<body>
    <h1>请输入您的姓名：</h1>
    <form th:action="@{/submitName}" method="post">
        <input type="text" id="name" name="name" placeholder="请输入姓名" required>
        <button type="submit">提交</button>
    </form>
</body>
</html>